include ../Makefile.include

noinst_PROGRAMS = \
	zbx_determine_charset

HTTP_LIBS = \
	$(HTTP_DEPS) \
	$(MOCK_DATA_DEPS) \
	$(MOCK_TEST_DEPS)

zbx_determine_charset_SOURCES = \
	zbx_determine_charset.c \
	../../zbxmocktest.h

zbx_determine_charset_LDADD = $(HTTP_LIBS)
zbx_determine_charset_LDFLAGS = $(CMOCKA_LDFLAGS) $(YAML_LDFLAGS)

if SERVER
zbx_determine_charset_LDADD += @SERVER_LIBS@
zbx_determine_charset_LDFLAGS += @SERVER_LDFLAGS@
else
if PROXY
zbx_determine_charset_LDADD += @PROXY_LIBS@
zbx_determine_charset_LDFLAGS += @PROXY_LDFLAGS@
endif
endif

zbx_determine_charset_CFLAGS = -I@top_srcdir@/tests $(CMOCKA_CFLAGS) $(YAML_CFLAGS)
